home *** CD-ROM | disk | FTP | other *** search
/ Enciclopedia Del Perro / Enciclopedia Del Perro.iso / win / tfw115c1 / tfw.5 / PASSWORD.SLT < prev    next >
Text File  |  1996-04-15  |  943b  |  22 lines

  1. /****************************************************************/
  2. /*                                                              */
  3. /*  Demo of how to access and use the password stored in the    */
  4. /*  PhoneBook when connected to a BBS.                          */
  5. /*                                                              */
  6. /*                   Copyright 1995 deltaComm Development, Inc. */
  7. /*                                                              */
  8. /****************************************************************/
  9.  
  10. main()
  11.  {
  12.   if (_entry_pass)         // make sure password has been defined for this
  13.                            // entry and that an entry has been connected to.
  14.    {
  15.     cPutS(_entry_pass);    // send the password
  16.     cNewLine;              // and a carriage return
  17.    }
  18.   else                     // else show error box for 4 seconds
  19.  
  20.     status_wind("No password available!",40);
  21. }
  22.